From 7c799bbc6591a58cec3ac4d9e0b4cb88fa4d1cfb Mon Sep 17 00:00:00 2001 From: Lapo Calamandrei Date: Tue, 16 Feb 2016 17:54:31 +0100 Subject: [PATCH] Adwaita: make tab buttons square once again --- gtk/theme/Adwaita/_common.scss | 4 ++-- gtk/theme/Adwaita/gtk-contained-dark.css | 4 ++-- gtk/theme/Adwaita/gtk-contained.css | 4 ++-- 3 files changed, 6 insertions(+), 6 deletions(-) diff --git a/gtk/theme/Adwaita/_common.scss b/gtk/theme/Adwaita/_common.scss index e00e4cea61..dc8e483d66 100644 --- a/gtk/theme/Adwaita/_common.scss +++ b/gtk/theme/Adwaita/_common.scss @@ -1981,8 +1981,8 @@ notebook { &, &:backdrop { color: gtkalpha(currentColor, 0.3); } padding: 0; - margin-top: 4px; - margin-bottom: 4px; + margin-top: 7px; + margin-bottom: 7px; // FIXME: generalize .small-button? min-width: 20px; min-height: 20px; diff --git a/gtk/theme/Adwaita/gtk-contained-dark.css b/gtk/theme/Adwaita/gtk-contained-dark.css index 6ab127e2fd..a9d177a14f 100644 --- a/gtk/theme/Adwaita/gtk-contained-dark.css +++ b/gtk/theme/Adwaita/gtk-contained-dark.css @@ -2269,8 +2269,8 @@ notebook > header { notebook > header tab .titlebar button.titlebutton, .titlebar notebook > header tab button.titlebutton { padding: 0; - margin-top: 4px; - margin-bottom: 4px; + margin-top: 7px; + margin-bottom: 7px; min-width: 20px; min-height: 20px; } notebook > header tab button.flat:hover, notebook > header tab notebook > header > tabs > arrow:hover, notebook > header tab button.sidebar-button:hover, notebook > header tab headerbar button.titlebutton:hover, headerbar notebook > header tab button.titlebutton:hover, diff --git a/gtk/theme/Adwaita/gtk-contained.css b/gtk/theme/Adwaita/gtk-contained.css index 864bf5374c..2f4e76b0a0 100644 --- a/gtk/theme/Adwaita/gtk-contained.css +++ b/gtk/theme/Adwaita/gtk-contained.css @@ -2279,8 +2279,8 @@ notebook > header { notebook > header tab .titlebar button.titlebutton, .titlebar notebook > header tab button.titlebutton { padding: 0; - margin-top: 4px; - margin-bottom: 4px; + margin-top: 7px; + margin-bottom: 7px; min-width: 20px; min-height: 20px; } notebook > header tab button.flat:hover, notebook > header tab notebook > header > tabs > arrow:hover, notebook > header tab button.sidebar-button:hover, notebook > header tab headerbar button.titlebutton:hover, headerbar notebook > header tab button.titlebutton:hover, -- 2.30.2